generated from JetBrains/compose-multiplatform-template
-
Notifications
You must be signed in to change notification settings - Fork 6
Update Kotlin, KSP and Compose Compiler to v2 (major) #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-kotlin-ksp-and-compose-compiler
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dc7e781
to
4bced86
Compare
4bced86
to
572ed0c
Compare
572ed0c
to
31e4fc3
Compare
31e4fc3
to
f4baed9
Compare
f4baed9
to
7b0b4e2
Compare
7b0b4e2
to
e1f0208
Compare
56457e5
to
3071694
Compare
0d4eee0
to
1486a77
Compare
b432b2c
to
1a5068b
Compare
1a5068b
to
63ad90a
Compare
e31b8c7
to
4000dfc
Compare
4000dfc
to
d1597a5
Compare
d1597a5
to
a4ca109
Compare
a4ca109
to
5a92f19
Compare
6a6009b
to
a74030f
Compare
ecdf987
to
bd4699d
Compare
bd4699d
to
88af1fe
Compare
88af1fe
to
942aa2d
Compare
99f2393
to
4693e51
Compare
4693e51
to
01ee762
Compare
01ee762
to
810ad6d
Compare
810ad6d
to
3ef5428
Compare
367a19a
to
a3a7561
Compare
a3a7561
to
cc7d91f
Compare
| datasource | package | from | to | | ---------- | ------------------------------------------------------------------------------------------------- | ------------- | ------------ | | maven | com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin | 1.9.22-1.0.18 | 2.1.21-2.0.2 | | maven | org.jetbrains.kotlin.plugin.serialization:org.jetbrains.kotlin.plugin.serialization.gradle.plugin | 1.9.22 | 2.2.0 | | maven | org.jetbrains.kotlin.plugin.parcelize:org.jetbrains.kotlin.plugin.parcelize.gradle.plugin | 1.9.22 | 2.2.0 | | maven | org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin | 1.9.22 | 2.2.0 | | maven | org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin | 1.9.22 | 2.2.0 | | maven | org.jetbrains.kotlin.multiplatform:org.jetbrains.kotlin.multiplatform.gradle.plugin | 1.9.22 | 2.2.0 | | maven | org.jetbrains.kotlin:kotlin-test-junit | 1.9.22 | 2.2.0 | | maven | org.jetbrains.kotlin:kotlin-test-annotations-common | 1.9.22 | 2.2.0 | | maven | org.jetbrains.kotlin:kotlin-test | 1.9.22 | 2.2.0 | | maven | org.jetbrains.kotlin:kotlin-compiler-embeddable | 1.9.22 | 2.2.0 | | maven | org.jetbrains.kotlin:kotlin-parcelize-runtime | 1.9.22 | 2.2.0 | | maven | org.jetbrains.kotlin:kotlin-stdlib | 1.9.22 | 2.2.0 |
cc7d91f
to
3d50dc2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.9.22-1.0.18
->2.1.21-2.0.2
1.9.22
->2.2.0
1.9.22
->2.2.0
1.9.22
->2.2.0
1.9.22
->2.2.0
1.9.22
->2.2.0
1.9.22
->2.2.0
1.9.22
->2.2.0
1.9.22
->2.2.0
1.9.22
->2.2.0
1.9.22
->2.2.0
1.9.22
->2.2.0
Release Notes
google/ksp (com.google.devtools.ksp)
v2.1.21-2.0.2
Compare Source
What's Changed
KSP1: use new mangling scheme for inline classes #2446
KSP task (non-)registration happens too soon #1789
[ksp2] Resolver.getJvmName wrong for properties starts with is #2275
Inlined JVM name is not correct #1493
[KSP2] Annotation values of inner annotations shouldn't be marked as default #2437
Properly support @ all annotation use site target #2438
Contributors
Thanks to everyone who reported bugs and participated in discussions!
Full Changelog: google/ksp@2.1.21-2.0.1...2.1.21-2.0.2
v2.1.21-2.0.1
Compare Source
What's Changed
Full Changelog: google/ksp@2.1.21-RC2-2.0.1...2.1.21-2.0.1
v2.1.20-2.0.1
Compare Source
What's Changed
Contributors
Thanks to everyone who reported bugs and participated in discussions!
Full Changelog: google/ksp@2.1.20-2.0.0...2.1.20-2.0.1
v2.1.20-2.0.0
Compare Source
What's Changed
Full Changelog: google/ksp@2.1.20-1.0.32...2.1.20-2.0.0
v2.1.20-1.0.32
Compare Source
What's Changed
#2379 [KSP2] resolved type of vararg parameter in functions changed vs KSP1
#2358 [KSP2] Annotation missing from property when VALUE_PARAMETER target is used.
And various performance optimizations!
v2.1.20-1.0.31
Compare Source
What's Changed
Full Changelog: google/ksp@2.1.20-RC2-1.0.31...2.1.20-1.0.31
v2.1.10-1.0.31
Compare Source
Bug Fixes
v2.1.10-1.0.30
Compare Source
Bugs Fixed / PR Landed
https://github.com/google/ksp/issues/2325 [KSP2] KSType.arguments return arguments on aliased type.https://github.com/google/ksp/pull/23122 Partially migrate KSP off AGP's legacy Variant APIhttps://github.com/google/ksp/issues/23099 Resolver#getDeclarationsFromPackage() does not find generated fileshttps://github.com/google/ksp/issues/22522 Incremental processing breaks when a project dependency is modifiedhttps://github.com/google/ksp/issues/22655 [ksp2] ksType.arguments will crash on a typealias's java wildcard typhttps://github.com/google/ksp/issues/226464 [ksp2] getJavaWildcard does not return wildcard for List param (different with kapt/ksphttps://github.com/google/ksp/issues/2246246 Resolver returns non-equal instances of the same declaratiohttps://github.com/google/ksp/issues/2254254 [KSP2] Resolver#overrides() gives incorrect result when method isn't accessible.
v2.1.10-1.0.29
Compare Source
What's Changed
Full Changelog: google/ksp@2.1.10-RC2-1.0.29...2.1.10-1.0.29
v2.1.0-1.0.29
Compare Source
Updates
Contributors
Thanks to everyone who reported bugs and participated in discussions!
v2.1.0-1.0.28
Compare Source
What's Changed
Full Changelog: google/ksp@2.1.0-RC2-1.0.28...2.1.0-1.0.28
v2.0.21-1.0.28
Compare Source
Updates
Contributors
Thanks to @GeorgCantor and everyone who reported bugs and participated in discussions!
v2.0.21-1.0.27
Compare Source
Bugs Fixed
Contributors
Thanks to @jonamireh, @kuanyingchou, @martinbonnin, @pablobaxter, @scott-pollom, and everyone who reported bugs and participated in discussions!
v2.0.21-1.0.26
Compare Source
Bugs Fixed
Full Changelog: google/ksp@911690b...2.0.21-1.0.26
Contributors
Thanks to @ansman, @asapha, @kaeawc, @kuanyingchou, @scott-pollom, and everyone who reported bugs and participated in discussions!
v2.0.21-1.0.25
Compare Source
What's Changed
Full Changelog: google/ksp@2.0.21-RC-1.0.25...2.0.21-1.0.25
v2.0.20-1.0.25
Compare Source
Bugs Fixed
Inlined JVM name is not correct #1493
[KSP2] NullPointerException when getting name of nested annotation #1963
[KSP2] The status was unresolved for FirSimpleFunctionImpl #1938
[KSP2] Class values in type annotations get resolved to error type #1933
[KSP2] Comparing KSType leads to exception #1918
[KSP2] Can't find values in repeatable annotations #1883
incremental: aggregating outputs should always be invalidated #2027
[KSP2] Not yet implemented: KSValueArgumentLiteImpl.getLocation #2048
[KSP2] Not yet implemented: KSValueArgumentImpl.getParent #2049
getSymbolsWithAnnotation returns copy function from data class #1996
[KSP2] Annotations got use-site target when there are none specified #1882
getting null pointer exception #1929
[KSP2] Calling getDeclarationsInSourceOrder throws KotlinIllegalStateExceptionWithAttachments #1930
[KSP2] A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction #1941
KSP2: Resolver.getJvmNames doesn't work for inline and internal classes #1640
kspCaches don't work together with Gradle build cache #2042
Contributors
Thank you so much! @ansman, @kuanyingchou
Full Changelog: google/ksp@2.0.20-1.0.24...2.0.20-1.0.25
v2.0.20-1.0.24
Compare Source
What's Changed
v2.0.10-1.0.24
Compare Source
What's Changed
v2.0.0-1.0.24
Compare Source
What's Changed
#2013 Handle edge cases of KtAnnotated.annotations
#2009 Fix :kotlin-analysis-api:shadowJar failing on Windows
#2006 Use symbol-processing-aa-embeddable in Gradle
Bugs Fixed
#1956 IllegalAccessError in Dagger with KSP2.0.0-1.0.22 and KSP2
#1998 KSP2 version 2.0.0-1.0.23 crashes on Moshi codegen with NoSuchElementException: Collection contains no element matching the predicate.
Full Changelog: google/ksp@e880744...[`c63864c`](https://redirect.github.com/google/ksp/commit/c63864cc1268bcb1c83e058494b6ff4b25947251)
v2.0.0-1.0.23
Compare Source
Issues fixed
v2.0.0-1.0.22
Compare Source
Important Changes
KSErrorType.toString()
now contains the reference name it was tried to be resolved, and thereforeKSErrorType
is no longer a singleton. Processors relying on equality checks of that (in contrast of usingKSType.isError
) will need to be updated accordingly.Issues Fixed
#1908 KSP2: Calling KSP2 in programs does not appear to work on macOS or Windows
#1917 KSP2's symbol-processing-aa-embeddable artifact exposes an unresolvable pre-release kotlin 2.0.20 dependency
#1911 NoSuchMethodError when running KSP2 with Dagger (KSP 2.0.0-1.0.21)
#1909 KSP2: default annotation arguments no longer work in 1.0.21
#1232 Expose simple names on a missing types's synthetic declaration
#1857 [KSP2] Modifiers are missing for property accessors
#1924 [KSP2] Type arg becomes '*' after calling KSType.replace() with an error type
#1948 KSP2 default annotation KClass values for built-in types use java.lang.* versions
What's Changed
Full Changelog: google/ksp@2.0.0-1.0.21...2.0.0-1.0.22
v2.0.0-1.0.21
Compare Source
This release brings mostly bug fixes into KSP2 beta
Users are encouraged to try out KSP2 beta.
new feature
expose an API in Resolver to retrieve the module name for handling mangling of internal members #1621
issues fixed
v1.9.25-1.0.20
Compare Source
KSP 1.0.20 for Kotlin 1.9.25
v1.9.24-1.0.20
Compare Source
KSP 1.0.20 for kotlin compiler version 1.9.24
v1.9.23-1.0.20
Compare Source
KSP1 issues fixed
KSP2 issues fixed
v1.9.23-1.0.19
New APIs
SymbolProcessorEnvironment.kspVersion
CodeGenerator.associateWithFunctions
andCodeGenerator.associateWithProperties
Issues fixed in KSP2
Issues fixed in KSP Gradle Plugin
Known issues
JetBrains/kotlin (org.jetbrains.kotlin.plugin.serialization)
v2.2.0
: Kotlin 2.2.0Changelog
Analysis API
KT-73337
Migrate analysis sources to new IR parameter APIKT-75880
K2 Mode: Typealias reference resolves to the underlying class in KMP projectKT-74246
KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-siteKT-57733
Analysis API: Use optimizedModuleWithDependenciesScope
s in combined symbol providersKT-69535
Redesign 'containingSymbol'KT-69950
Analysis API: IntroduceisSubtypeOf(ClassId)
KT-68393
Analysis API: RenameKaClassLikeSymbol. classIdIfNonLocal
toclassId
KT-62924
Analysis API: rename KtCallableSymbol.callableIdIfNonLocal -> callableIdAnalysis API. Code Compilation
KT-75502
K2: IDEA hangs when evaluating inside kotlin-stdlib modules in the Kotlin projectKT-73077
Evaluation of inline functions is broken inside Kotlin project and Amper module in Idea sourcesKT-73936
K2: CyclicInlineDependencyException: Inline functions have a cyclic dependency in evaluatorKT-74582
InterpreterMethodNotFoundError when trying to evaluate simple expressions after recent fixesKT-74524
Compilation exception with incorrect JvmName annotation argumentsKT-74443
Compilation peer collector ignores inline property accessorsAnalysis API. FIR
New Features
KT-73493
Support context parametersPerformance Improvements
KT-75790
Experiment with increasing DEFAULT_LOCKING_INTERVAL timeKT-72159
LLFirCompilerRequiredAnnotationsTargetResolver: consider rewriting it to use honest jumping locksFixes
KT-76331
Cleanup FileStructureElement for classesKT-73117
K2 AA: Exception "Setter is not found" when val has a setter without bodyKT-76540
K2: Missing library dependency on Android SDK from androidx.activity-1.8.2 causes LiveEdit failuresKT-73266
K2. "Declaration should have non-local container" with unclosed annotation on top-level functionKT-76432
JavaClassUseSiteMemberScope: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImplKT-76217
K2 AA: "No fir element was found for KtParameter" with multiple context parameter listsKT-74740
Highlighting is broken after the built-in serialization refactoringKT-76366
ContextCollector: annotations on class members don't have the class as implicit receiverKT-76352
ContextCollector: wrong class annotation context in BODY modeKT-76341
ContextCollector: support dangling modifiersKT-76332
"Declaration should have non-local container" for declaration inside file annotationKT-76115
DisableFirElementBuilder#getFirForElementInsideAnnotations
optimization for files, classes and scriptsKT-76347
ContextCollector: avoid resolution for enum entry annotationsKT-76272
Cleanup AbstractFileStructureTestKT-75542
K2 AA: "FirDeclaration was not found for class KtNamedFunction, fir is class FirErrorExpressionImpl" for unclosed annotation on member functionKT-73719
K2. "FirDeclaration was not found for class KtDestructuringDeclaration, fir is class FirBlockImpl" on incorrect chain callKT-72908
K2 Analysis API: "FirDeclaration was not found for class org.jetbrains.kotlin.psi.KtFunctionLiteral" with non-local destructuring declaration without initializer beforeinit
blockKT-75532
ContextCollector: scope for an anonymous function type parameter contains regular parametersKT-74508
FirElementBuilder#findElementInside
should reuse logic fromKtToFirMapping#getFir
KT-73066
[LL] Enable low-level-api-fir-native even with the disabled native partKT-75132
Investigate failures of sandbox diagnostic testKT-75130
Set up LL FIR tests for sandbox test dataKT-73386
Standardize LL FIR test for compiler test dataKT-75125
ISE “Value classes cannot have 0 fields” on instantiating inline class without fieldsKT-75179
ContextCollector: support error propertiesKT-74632
K2: ISE FirLazyDelegatedConstructorCall should be calculated before accessingKT-74818
K2 AA: "FirDeclaration was not found for class KtTypeParameter, fir is null" with TYPE_PARAMETERS_NOT_ALLOWED on anonymous functionKT-73183
Support context parameters in ContextCollectorVisitorKT-60350
K2 IDE: top level destructuring RHS should be resolvableKT-74794
K2: FirLazyExpression should be calculated before accessing with context parameter and implicit return typeKT-72938
Get rid of KaFirAnnotationListForReceiverParameterKT-73727
Exception in implicit type resolutionAnalysis API. Infrastructure
KT-74917
[Analysis API, Test Framework] Introduce a way to acquirePsiFile
for a givenTestFile
inKtTestModule
Analysis API. Light Classes
KT-73405
Get rid of KtElement#{symbolPointer, symbolPointerOfType} API usagesKT-75391
Reduce the amount of psi-based logic in light classesKT-70001
SLC adds@Override
with zero text offset onoverride
memberKT-75755
K2. False positive red code on vararg parameters in Kotlin class with@JvmOverloads
when called from JavaKT-75397
Constructors and functions with non-last vararg parameters are treated as varargsKT-74868
Support context parametersKT-74733
SymbolPsiLiteral.text == value for Java constantKT-74620
Delegated functions with value classes are present in light classesKT-74595
Static functions with value classes are present in light classesKT-74284
Synthetic data class methods using value class types present in LCAnalysis API. Providers and Caches
Performance Improvements
KT-62115
Analysis API: Package providers are not cached per search scopeKT-74463
Analysis API:LLNativeForwardDeclarationsSymbolProvider
queries its cache even when theClassId
cannot represent a native forward declarationFixes
KT-74541
Analysis API: Include files generated by resolve extensions inKaModule
content scopesKT-64236
Analysis API: Introduce a separate module for fallback dependencies of library source modulesKT-74090
Analysis API: Support dumb mode (restricted analysis)KT-63780
Analysis API: Invalidate resolvable library sessions when binary library modules are modifiedKT-72388
KaFirStopWorldCacheCleaner: Control-flow exceptionsKT-74943
Analysis API: ReplaceKotlinGlobalModificationService
with simpler global modification event publishing and listener-based modification trackersKT-70518
K2: Analysis API: Access indices outside ofConcurrentMap
computation in symbol providersKT-74302
Analysis API:LLFirProvider
should disregard self-declarations ingetFirClassifierBy*
KT-67868
Analysis API: Improve the architecture ofLLFirKotlinSymbolProvider
sAnalysis API. Standalone
KT-72810
withMultiplatformLightClassSupport is inconvenient in StandaloneAnalysis API. Stubs and Decompilation
KT-71787
PsiRawFirBuilder.Visitor#visitStringTemplateExpression
forces AST loadingKT-68484
K2 IDE, Analysis API: "We should be able to find a symbol for function" for getting KaType ofIterable<T>.map(transform: (T) -> R)
parameter in J2KAnalysis API. Surface
New Features
KT-74475
AddisInline
forKaPropertySymbol
KT-75063
KaScopeContext: support context parametersPerformance Improvements
KT-73669
Support psi-based symbol pointer for implicit primary constructorsKT-76008
Provide PSI-based implementation forKaFirNamedClassSymbol#companionObject
KT-70165
Introduce PSI-basedKaSymbol
s for K2Fixes
KT-72730
K2: "Unexpected owner function: KtNamedFunction" on vararg val parameter in functionKT-75123
K2. KaFirNamedFunctionSymbol should contain a receiverKT-75894
Cannot build KaFirJavaFieldSymbol for FirFieldImplKT-75115
Analysis API: TheJavaModuleResolver
compiler class is leaked to Analysis API platform implementationsKT-76018
K2: Stop the wold leads to deadlock/freezeKT-76011
KaFirNamedClassSymbol#companionObject
doesn't provide generated objects generated by compiled pluginsKT-72482
"KotlinIllegalArgumentExceptionWithAttachments: Expected all candidates to have same callableId but some of them but was different" on trying to add the importKT-75586
KaFirPropertyGetterSymbol#isInline
andKaFirPropertySetterSymbol#isInline
is incorrect for accessors with explicit modifierKT-58572
Analysis API: Enforcing STATUS resolve in 'KtFirNamedClassOrObjectSymbol.visibility' may cause lazy resolve contract violationKT-75574
Recognize injected code fragment copiesKT-75573
Recognize physical file copies as dangling filesKT-74801
Analysis API: Publish/subscribe to modification events with a single message bus topicKT-73290
Analysis API: Improve the architectureConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.